package objbo.xmlparser.model.controller;

import objbo.xmlparser.model.modeler.XMLFileModeler;

public class XMLFilecontroller
{
	XMLFileModeler modeler = null;
	
	public XMLFilecontroller(XMLFileModeler modeler)
	{
		this.modeler = modeler;
	}
	
//	public Document getDocument()
//	{
//		
//		return this.modeler.getFileBean().getDocument();
//	}
	
	public boolean loadDocument(Object xmlFile)
	{
		
		return this.modeler.loadFile(xmlFile);
	}
	
	public boolean saveDocument(Object xmlFile)
	{
		return this.modeler.saveFile(xmlFile);
	}
	
}
